package com.lifeonwalden.fincalc.fund.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class FundValueInfo implements Serializable {
    private static final long serialVersionUID = -6941670125105289998L;

    /* 基金代码 */
    private String code;
    /* 净值日期 */
    private Date date;
    /* 单位净值 */
    private BigDecimal nav;
    /* 累计净值 */
    private BigDecimal accuNav;
    /* 归一化赋权净值 */
    private BigDecimal adjustNav;
    /* 赋权净值 */
    private BigDecimal actualAdjustNav;
    /* 涨跌幅 */
    private BigDecimal change;

    public String getCode() {
        return code;
    }

    public FundValueInfo setCode(String code) {
        this.code = code;
        return this;
    }

    public Date getDate() {
        return date;
    }

    public FundValueInfo setDate(Date date) {
        this.date = date;
        return this;
    }

    public BigDecimal getNav() {
        return nav;
    }

    public FundValueInfo setNav(BigDecimal nav) {
        this.nav = nav;
        return this;
    }

    public BigDecimal getAccuNav() {
        return accuNav;
    }

    public FundValueInfo setAccuNav(BigDecimal accuNav) {
        this.accuNav = accuNav;
        return this;
    }

    public BigDecimal getAdjustNav() {
        return adjustNav;
    }

    public FundValueInfo setAdjustNav(BigDecimal adjustNav) {
        this.adjustNav = adjustNav;
        return this;
    }

    public BigDecimal getActualAdjustNav() {
        return actualAdjustNav;
    }

    public FundValueInfo setActualAdjustNav(BigDecimal actualAdjustNav) {
        this.actualAdjustNav = actualAdjustNav;
        return this;
    }

    public BigDecimal getChange() {
        return change;
    }

    public FundValueInfo setChange(BigDecimal change) {
        this.change = change;
        return this;
    }
}
